package com.richapp.launcher.database.system.mode;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "actionInfrared")
public class ActionInfraredModel {

	@DatabaseField(generatedId = true)
	private int id;

	@DatabaseField(columnName = "sceneName",canBeNull = false)           //情景名称
	private String sceneName;

	@DatabaseField(columnName = "actionType",canBeNull = false)          //动作类型
	private int actionType;

	@DatabaseField(columnName = "machineName",canBeNull = false)		//设备名称
	private String machineName;

	@DatabaseField(columnName = "buttonId",canBeNull = false)			//按钮id
	private int buttonId;

	@DatabaseField(columnName = "buttonName",canBeNull = false)			//按钮名
	private String buttonName;

	@DatabaseField(columnName = "delayActionTime",defaultValue = "1")    //下一动作延时时间
	private int delayActionTime = 1;

    @DatabaseField(columnName = "orderNumber")                           //动作排序号码
    private int orderNumber;


	public ActionInfraredModel() {
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getSceneName() {
		return sceneName;
	}

	public void setSceneName(String sceneName) {
		this.sceneName = sceneName;
	}

	public int getActionType() {
		return actionType;
	}

	public void setActionType(int actionType) {
		this.actionType = actionType;
	}

	public int getDelayActionTime() {
		return delayActionTime;
	}

	public void setDelayActionTime(int delayActionTime) {
		this.delayActionTime = delayActionTime;
	}

    public int getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(int orderNumber) {
        this.orderNumber = orderNumber;
    }

	public String getMachineName() {
		return machineName;
	}

	public void setMachineName(String machineName) {
		this.machineName = machineName;
	}

	public int getButtonId() {
		return buttonId;
	}

	public void setButtonId(int buttonId) {
		this.buttonId = buttonId;
	}

	public String getButtonName() {
		return buttonName;
	}

	public void setButtonName(String buttonName) {
		this.buttonName = buttonName;
	}
}
